package cn.pku.eecs.ldn.util;

public class MathUtil {
	private static final float PRECISION = 0.001f;
	public static boolean equal(float f1, float f2) {
		if(Math.abs(f1 -f2) < PRECISION) {
			return true;
		}
		return false;
	}
}
